﻿<%@ page language="C#" autoeventwireup="true" inherits="Register, App_Web_u--qnx6c" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Register</title>
    <style type="text/css">
        .style1
        {
            width: 213px;
            text-align : right;
        }
        .style2
        {
            width: 132px;
        }
        .style3
        {
            width: 213px;
            text-align : right;
            height: 26px;
        }
        .style4
        {
            width: 179px;
            height: 26px;
        }
        .style5
        {
            height: 26px;
            width: 57px;
        }
        .style6
        {
            width: 57px;
        }
        .style7
        {
            width: 179px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 100%;">
            <tr>        
                <td align ="center" colspan ="4">
                    MEMBERSHIP APPLICATION FORM
                </td>
            </tr>
            <tr>
            <td colspan = "4">
                <asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
            </td></tr>
            
            <tr>
                <td class="style1">
                    Date Of Application :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtDateofapplication" runat ="server" Width="134px"></asp:TextBox>
                    <cc1:CalendarExtender ID="txtDateofapplication_CalendarExtender" runat="server" 
                        Enabled="True" TargetControlID="txtDateofapplication">
                    </cc1:CalendarExtender>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Member ID :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtMemberid" runat ="server"></asp:TextBox> 
                    <cc1:TextBoxWatermarkExtender ID="txtMemberid_TextBoxWatermarkExtender" 
                        runat="server" Enabled="True" TargetControlID="txtMemberid" 
                        WatermarkText="For Office Use Only">
                    </cc1:TextBoxWatermarkExtender>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Introducer's ID :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtIntroducerid" runat ="server"></asp:TextBox>
                </td>
                <td class="style6">
                    Pin ID :
                </td>
                <td>
                    <asp:DropDownList ID="ddlpinid" runat="server">
                    </asp:DropDownList>
                    </td>
            </tr>
            <tr>
                <td class="style1">
                    Rank :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtRank" Text ="1" runat ="server" Width="168px"></asp:TextBox>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style3">
                    First Name :
                </td>
                <td class="style4">
                    <asp:TextBox ID="txtFirstname" runat ="server"></asp:TextBox>
                </td>
                <td class="style5">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Middle Name :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtMiddlename" runat ="server"></asp:TextBox>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Last Name :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtLastname" runat ="server"></asp:TextBox>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style1" >
                    Address :
                </td>
                <td class="style2" colspan ="2">
                    <asp:TextBox ID="txtAddress" runat="server" TextMode="MultiLine" Height="64px" 
                        Width="170px"></asp:TextBox>
                </td>
                
            </tr>
            <tr>
                <td class="style1">
                    City :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtCity" runat ="server"></asp:TextBox>
                </td>
                <td class="style6">
                    State :
                </td>
                <td>
                    <asp:TextBox ID="txtState" runat ="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Pincode :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtPincode" runat ="server"></asp:TextBox>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Phone No. with STD  :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtPhoneStd" runat ="server" Height="22px" Width="164px"></asp:TextBox>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Mobile NO :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtMobileno" runat ="server"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                        ControlToValidate="txtMobileno" ErrorMessage="Enter Only digit value" 
                        ValidationExpression="[0-9]+">*</asp:RegularExpressionValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                        ControlToValidate="txtMobileno" ErrorMessage="Digit more than 10 digit" 
                        ValidationExpression="\d{10}">*</asp:RegularExpressionValidator>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Email ID :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtEmailID" runat ="server"></asp:TextBox>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Date Of Birth :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtDOB" runat ="server"></asp:TextBox>
                    <cc1:CalendarExtender ID="txtDOB_CalendarExtender" runat="server" 
                        Enabled="True" TargetControlID="txtDOB">
                    </cc1:CalendarExtender>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Education :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtEducation" runat ="server"></asp:TextBox>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
            <tr>            
                <td class="style1">
                    Occupation :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtOccupation" runat ="server"></asp:TextBox>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
            <tr>            
                <td class="style1">
                    Annual Income :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtAnnualIncome" runat ="server"></asp:TextBox>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
            <tr>            
                <td class="style1">
                    PAN Number :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtPanno" runat ="server"></asp:TextBox>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
            <tr>            
                <td class="style1">
                    Name Of Nominee :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtNomineeName" runat ="server"></asp:TextBox>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
                        <tr>
                <td class="style1">
                    Age Of Nominee :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtNomeneeAge" runat ="server"></asp:TextBox>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
                        <tr>
                <td class="style1">
                    Relation Of Nominee :
                </td>
                <td class="style7">
                    <asp:TextBox ID="txtNomineeRelaion" runat ="server"></asp:TextBox>
                </td>
                <td class="style6">
                    &nbsp;
                </td>
            </tr>
            <tr>
            <td colspan = "4">
            </td></tr>
            
            <tr>
            <td colspan = "4"><center>
            <asp:Button ID="btnAdd" Text="ADDNEW" runat ="server" onclick="btnAdd_Click" 
                    style="height: 26px" />
            <asp:Label ID="lblmsg" runat ="server" Visible="False" ></asp:Label></center>
            </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
